﻿using System;
using UnityEngine;

namespace DefaultNamespace
{
    public class PlayerManager : MonoBehaviour
    {

        [SerializeField] private Transform playerTransform;
        private static string curBuff;
        private static PlayerManager _instance;
        

        public static Vector2 Position => _instance.playerTransform.position;
        public static string Buff => curBuff;
        
        private void Awake()
        {
            _instance = this;
            curBuff = null;
        }

        public void ChangeBuff(string newBuff)
        {
            curBuff = newBuff;
        }
    } 
}